package server;

/**
 * Main class to start a server on port 2121.
 */
public final class ServerMain {

    public static void main(String[] args) {

        ServerController server = new ServerController(2121);

        new Thread(server).start();

        try {
            Thread.sleep(400000);
        } catch (InterruptedException ex) {
            System.err.println(ex.getMessage());
        }
        server.shutdown();
    }

}
